/* 初始版本 */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

body {
font-family: '微软雅黑', sans-serif;
background-image: url('https://images.unsplash.com/photo-1701662102796-edab63f1cd01?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
background-size: cover;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}


.form-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.form-container label {
  font-weight: bold;
  color: #2e8b57;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form-container button {
  background: #2e8b57;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

.journal {
  background: rgba(250, 250, 245, 0.9);
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.journal-entry {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.journal-image {
  width: 40%; /* 缩小图片占比 */
  height: auto;
  border-radius: 8px;
  margin-right: 30px; /* 增大图片与文本的间距 */
  widows: 200px;
  height: 100px;
}

.journal-text {
  width: 60%; /* 增大文本占比 */
  padding: 10px;
  font-size: 1em;
  line-height: 1.6;
  color: #444;
}

.journal-header {
  text-align: center;
  font-family: 'Pacifico', cursive;
  color: #333;
  margin-bottom: 20px;
}

.journal-title {
  font-size: 26px; /* 放大标题字体 */
  font-weight: bold;
  color: #2e8b57;
  margin-bottom: 12px;
}

.journal-date {
  font-size: 18px; /* 放大日期字体 */
  color: #666;
  margin-bottom: 12px;
}

.journal-description {
  font-size: 16px;
  color: #444;
  margin-bottom: 12px;
}

.journal-tags {
  display: flex;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
  color: #fff;
  padding: 6px 12px; /* 增大标签内边距 */
  border-radius: 5px;
  margin-right: 8px; /* 增大标签间距 */
  margin-bottom: 8px;
  font-size: 1em;
  font-family: 'Pacifico', cursive;
  cursor: pointer;
}

.button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  margin-top: 20px;
}



.journal-entry:hover {
  transform: translateY(-5px);
}

.journal-entry img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.journal-entry .text {
  width: calc(100% - 220px);
  padding-left: 20px;
}

.journal-entry .text h2 {
  margin: 0;
  color: #2e8b57;
  font-family: 'Pacifico', cursive;
}

.journal-entry .text p {
  margin: 10px 0;
  color: #444;
}

.tags {
  margin-top: 10px;
}

.tag {
  display: inline-block;
  background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 5px;
  font-size: 0.9em;
  font-family: 'Pacifico', cursive;
  cursor: pointer;
}
